package com.dhc.appbusinessfrm.view.activity;

import android.content.Context;

import dagger.ObjectGraph;

/**
 * Created by danlu on 2015/6/11.
 */
public interface BaseInteractor {

    /**
     * 没有网络提示对话框
     */
    public void createNetworkNotAvailableDialog();

    /**
     * 关闭activity
     */
    public void finishActivity();

    /**
     * 获取视图上下文
     * @return
     */
    public Context getMyContext();

    /**
     * 获取依赖有向图谱
     * @return
     */
    public ObjectGraph getActivityGraph();

    /**
     * 显示短提示
     * @param stringResId
     */
    public void showShortPrompt(int stringResId);

    /**
     * 显示长提示
     * @param stringResId
     */
    public void showLongPrompt(int stringResId);

}
